using System;
using System.Collections.Generic;
using System.Text;
using System.Web.UI.WebControls;
using System.ComponentModel;

namespace GridControl
{
    /// <summary>
    /// Class that represents an Ext Menu
    /// should be associated with other classes like the Tree
    /// </summary>
    [ToolboxItem(false)]
    public class Menu
    {
        private List<MenuItem> _Items;
        /// <summary>
        /// Items of the menu
        /// </summary>
        public List<MenuItem> Items
        {
            get {
                if (_Items==null)
                {
                    _Items = new List<MenuItem>();
                }
                return _Items;
            }
          
        }
    }
}
